<template>
	<view class="content">
    <image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text class="title" @click="loginClick">uniapp登录</text>
		</view>
		<view class="text-area">
			<text class="title" @click="paymentClick">uniapp支付</text>
		</view>
    <view class="text-area">
      <text class="title" @click="paymentClicktwo">uniapp付款</text>
    </view>

    <u-action-sheet :list="list" v-model="show"></u-action-sheet>

  </view>
</template>

<script>
	import {
		list
	} from '@/api/tag.js'
	export default {
		data() {
			return {
				title: 'Hello',
        list: [{
          text: '点赞',
          color: 'blue',
          fontSize: 28
        }, {
          text: '分享'
        }, {
          text: '评论'
        }],
        show: true
			}
		},
		onLoad() {
			// this.listClick()
		},
		methods: {
			loginClick() {
				uni.navigateTo({
					url: '../login/login',
				});
			},
			paymentClick() {
				uni.navigateTo({
					url: '../payment/payment',
				});
			},
      paymentClicktwo(){
        uni.navigateTo({
          url: '../payment/amountInput',
        });
      }
		}
	}
</script>

<style scoped lang="scss">

	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
	
	// #ifdef MP-ALIPAY */
	// .title {
	// 	font-size: 36rpx;
	// 	color: yellow;
	// }
	// /* #endif


</style>
